﻿.container__survey {
    width: 100%;
    border-radius: 3px;
    background-color: white;
    height: auto;
    min-height: 300px;
    max-height: 100%;
    padding: 2rem;
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;

    transition-duration: 500ms;
    transition-property: transform;
    transform: scale(0);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.container__survey-scale {
    transform: scale(1);
}

.container__survey .container__survey--form__card {
    background-color: white;
    border-radius: 10px;
    height: 100%;
    max-height: 500px;
    width: 95%;
    max-width: 550px;
    text-align: left;
    display: flex;
    padding: 0 5px;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    z-index: 9;
    overflow-y: auto;
}

.container__survey-buttons {
    position: absolute;
    top: 7px;
    right: 7px;
    height: auto;
    width: 2rem;
    padding: 2px;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.container__survey-buttons #button-close,
#button-config {
    border: none;
    height: 2rem;
    width: 2rem;
    padding: 1.5px;
    border-radius: 9999px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
}

.container__survey-buttons #button-close {
    background-color: #fee2e2;
    cursor: pointer;
    transition: background-color 150ms ease-in-out
}

.container__survey-buttons #button-config {
    background-color: #f0f9ff;
}

.container__survey-buttons #button-close:hover {
    background-color: #fecaca;
}

.container__survey-buttons button img {
    width: 50%;
    display: block;
    margin: 0 auto;
}

.question__survey {
    color: black;
    font-weight: 700;
    font-size: 20px;
}

.container__questions .radio-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    padding: 30px 0;
}

.container__questions .radio-group .radio-option {
    display: flex;
    gap: 9px;
}

.container__questions .radio-group .radio-select {
    transform: scale(1.7);
}

.container__questions .radio-group .radio-option {
    color: black;
}

.controller__buttons {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: start;
    gap: 1rem;
    align-items: center;
}

.controller__buttons button {
    width: auto;
    min-width: 85px !important;
    height: auto;
    padding: 10px;
    border: none;
    border-radius: 7px;
}

.controller__buttons #button-cancel {
    color: black;
    background-color: #edf0f8;
}

.controller__buttons #button-save {
    color: white;
    background-color: #1d293d;
}

.comment__survey {}

.comment__survey span {
    color: #1d293d;
    padding: 5px 0;
    margin-bottom: 5px;
    display: block;
    font-weight: 500;
}

.comment__survey textarea {
    width: 100% !important;
    min-height: 70px;
    border-radius: 5px;
    border: 1px solid #cad5e2;
    padding: 5px;
    color: #1d293d;
    overflow: hidden;
    margin-bottom: .5rem;
}

.container__survey--info {
    margin-bottom: 10px;

}

.container__survey--info p {
    font-size: 13px;
    color: black;
    line-height: 1.3;
}

.container__survey--info p a {
    color: rgb(12, 12, 100) !important;
    padding: .1px;
    background-color: #e2e8f0;
    border-radius: 2px;
}

.section__pager {
    display: flex;
    justify-content: end;
    align-items: center;
    width: 100%;
    height: auto;
    padding: 2px;
    gap: .5rem;
}

.section__pager span {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background-color: #e2e8f0;
    padding: .2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.section__pager #page__number {
    background-color: inherit;
    font-weight: 500;
}

.section__pager span img {
    width: 15px;

}

.section__pager #next-survey img {
    transform: rotate(180deg);
}

@media screen and (width > 624px) {
    .container__survey {
        width: 95%;
        border-radius: 10px;
    }
    .container__survey .container__survey--form__card{
        padding: 11px 5px;
    }
}